WPForms\Helpers\CacheBase A

Total Complexity 54
Dependencies 4
Dependents 0
Total lines 583
Lines of code 225
Logical lines of code 107
Comment lines 242
Methods 22
Properties 6

Methods 22

Method Rating Maintainability Complexity Lines of code
perform_remote_request()
A
39 8 67
update()
S
51 7 27
schedule_update_cache()
S
58 4 16
init()
S
59 4 16
sync_updates()
S
63 4 11
get_from_cache()
S
63 4 10
prepare_cache_data()
S
71 3 6
get()
S
67 3 8
hooks()
S
65 2 9
cache_dir_complete()
S
67 2 9
exists()
S
79 2 3
invalidate_cache()
S
81 1 3
add_log()
S
67 1 9
allow_load()
S
100 1 0
update_cache()
S
73 1 5
get_cached()
S
75 1 4
cache_time()
S
80 1 3
is_expired_cache()
S
78 1 3
get_cache_dir()
S
81 1 3
setup()
S
100 1 0
update_settings()
S
64 1 10
maybe_update_transient()
S
82 1 3